package org.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/sayhi")
    public String sayHi() {
        return "Hi 蔡军";
    }

    @RequestMapping("/sayhello")
    public String sayHello() {
        return "Hello 蔡军";
    }

}
